<template>
	<view>
		小实
		<u-tag text="标签" plain size="mini" type="warning"></u-tag>
		<u-rate count="4" ></u-rate>
		<my-comp></my-comp>
		<test-my-comp></test-my-comp>
	</view>
</template>

<script>
	import testBus from "../../bus/test.js"
	import MyComp from "../../components/test-my-comp.vue"
	export default {
		data() {
			return {
				
			}
		},
		components: {
			"my-comp": MyComp
		},
		onLoad() {
			// console.log("FOOD 的 onLoad");
			testBus.$on("sendData", (data) =>{
				console.log(data);
			})
		},
		onShow() {
			// console.log("FOOD 的 onShow");
		},
		onHide() {
			// console.log("FOOD 的 onHide");
		}
	}
</script>

<style>

</style>
